<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<meta charset="UTF-8" />
	<title>维修记录添加</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <link th:href="@{/static/css/right4.css}" rel="stylesheet">
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>
<body>

	<div class="container bg-white">
       <div class="row">
        <div class="col-md-8 col-md-offset-2  col-xs-8 col-xs-offset-2   col-lg-8 col-lg-offset-2 ">
             <br>
            <form class="form-horizontal" th:action="@{/participate/save/1}" th:object="${participate}" method="post">
             <br>
             	<input type="hidden" id="membership_id" name="membership_id" th:value="${session.user.membership_id}" />
             	<div style="border-left:#3399FF solid 2px; padding:10px;"><h4>增加选修课程</h4></div>
                <hr>
                 <div class="form-group">
                    <label for="" class="col-sm-3 control-label">课程选择</label>
                    <div class="col-sm-7">
                    	<select id="course_id" name="course_id" class="form-control">
		                    <option th:each="var : ${courseList}" th:value="${var.id}" th:text="${var.name}">Thymus Thymi</option>
		                </select>
                    </div>
                  </div>	
                <div class="form-group">
                 <br>
                    <div class="col-sm-1 col-sm-offset-7 ">
                    <button type="submit" class="btn btn-primary">保存</button>
                    </div>
                </div>
              </form>    
       	</div>
       </div>      
	</div>
	<script th:src="@{/static/js/jquery-2.1.4.js}"></script>
</body>
</html>